package com.taomeng.service.impl;

import com.taomeng.dao.UserDao;
import com.taomeng.entity.User;
import com.taomeng.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IUserServiceImpl implements IUserService {
    @Autowired
    private UserDao userDao;
    @Override
    public User findByUsername(String username) {
        return userDao.findByUsername(username);

    }
}
